.class Lcom/waiqin365/lightapp/promotion/a;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/promotion/a/g;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v1, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/promotion/b/a;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a:Lcom/waiqin365/lightapp/promotion/b/a;

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    const-class v2, Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "funcname"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080674

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "funcid"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a:Lcom/waiqin365/lightapp/promotion/b/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/b/a;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "activityid"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a:Lcom/waiqin365/lightapp/promotion/b/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/b/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "activityname"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a:Lcom/waiqin365/lightapp/promotion/b/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/b/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "visitid"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->b(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "cmId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->c(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "cmName"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->d(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "cmLocation"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->e(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "iscuxiao"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "executed"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->a:Lcom/waiqin365/lightapp/promotion/b/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/promotion/b/a;->m:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "functionisOnce"

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->f(Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    const/16 v2, 0xd8

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a;->a:Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/promotion/SalePromotionActivity;->overridePendingTransition(II)V

    return-void
.end method
